﻿@model DataMongo.Entities.FeedComment
@{
    ViewBag.Title = "Write Comment";
}

@using (Html.BeginForm("WriteComment", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.HiddenFor(x=>x.FeedId)
   <h4>Add a new comment</h4>
    <p>Your e-mail address will not be published.<br />Required fields are marked<span class="required">*</span></p>
    <div class="control-group">
        <label for="name" class="control-label">Nickname<span class="required">*</span></label>
        <div class="controls">
            <input type="text" placeholder="Name" name="Name" id="c_name" />
        </div>
    </div>

    <div class="control-group">
        <label for="Email" class="control-label">E-mail<span class="required">*</span></label>
        <div class="controls">
            <input type="text" placeholder="E-mail" name="Email" id="c_email" />
        </div>
    </div>
    
    <div class="control-group">
        <label for="c_message" class="control-label">Comment<span class="required">*</span></label>
        <div class="controls">
            <textarea name="Description" placeholder="Your message.." id="c_message"></textarea>
        </div>
    </div>
     <button type="submit" class="btn btn-primary pull-right">Post comment</button>
}
